<%@ Page Language="vb" AutoEventWireup="false" Codebehind="OrderConfirm.aspx.vb" Inherits="MIMS_WRS.Web.OrderConfirm"%>
<%@ Register TagPrefix="uc1" TagName="HelpCtrl" Src="../Controls/HelpCtrl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Controls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../Controls/Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>OrderConfirm</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../Js/common.js"></script>
		<LINK href="../style.css" type="text/css" rel="stylesheet">
		<script language="JavaScript" src="../js/function.js" type="text/JavaScript"></script>
	</HEAD>
	<body leftMargin="0" topMargin="0" onload="MM_preloadImages('../images/b_weeklyreporto.gif','../images/b_historyreporto.gif','../images/b_usero.gif')">
		<form id="Form1" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<uc1:header id="Header1" runat="server"></uc1:header>
				<!-- Submenu: start -->
				<tr>
					<td class="bgsubmenu" align="center" height="30">
						<table cellSpacing="0" cellPadding="0" width="96%" border="0">
							<tr>
								<td class="txtcolor2"><span class="txtsmall"><strong>You are here:</strong></span> <A href="OrderList.aspx">
										Order list</A> / Create new order
								</td>
								<td class="txtcolor2" align="right">
									<p></p>
								</td>
								<td class="txtcolor2" noWrap align="right" width="70"><span class="plink"><A href="javascript:history.back()"><IMG height="16" hspace="2" src="../images/b_back.gif" width="57" vspace="0" border="0"></A></span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td class="bglinetop1" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
				</tr>
				<!-- Submenu: end -->
				<!-- ViewForm : start -->
				<tr>
					<td class="bgwhite" align="center">
						<table cellSpacing="0" cellPadding="0" width="90%" border="0">
							<tr>
								<td align="center" height="10"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
							</tr>
							<tr>
								<td align="center" height="35">
									<table cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td vAlign="bottom" width="56%" height="25"><span class="title"><strong><strong>CONFIRMATION</strong></strong></span></td>
											<td vAlign="bottom" align="right" width="44%"><div class="plink"><strong><span class="txtsmall"><A href="#">
																<uc1:HelpCtrl id="HelpCtrl1" runat="server"></uc1:HelpCtrl>
															</A></span></strong>
												</div>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td><asp:label id="lblErr" runat="server" CssClass="txthighlight"></asp:label></td>
							</tr>
							<tr>
								<td vAlign="top" align="center">
									<table class="border1" cellSpacing="2" cellPadding="2" width="100%" border="0">
										<tr>
											<td align="center" bgColor="#f9f9f9">
												<TABLE cellSpacing="0" cellPadding="3" width="100%" border="0">
													<TR>
														<TD class="bgmenu" align="right" width="45%" height="20">&nbsp;</TD>
														<TD class="bgmenu" align="center" width="1%">&nbsp;</TD>
														<TD class="bgmenu" width="55%">&nbsp;</TD>
													</TR>
													<TR>
														<TD class="txtnormal" id="po" align="right"><asp:label id="lblOrderNoText" Runat="server"></asp:label>:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= PageBO.OrderNumber %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Customer Name:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong>
																<%=  MIMS_WRS.Business.CUser.GetName(PageBO.CustomerID) %>
															</strong>
														</TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Arrival Port:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2" noWrap><strong><%= PageBO.DestinationPort %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Supplier Code:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= PageBO.SupplierCode %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Sort Reference 1:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= PageBO.SortReference %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Sort Reference 2:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= PageBO.SortReference2 %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right" height="25">Requested ETA:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= GetRequestedETAText %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" noWrap align="right">Containers:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= GetContainerText %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Packing:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong>
																<%= GetPackingTypeText %>
															</strong>
														</TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right" height="25">Shipping:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong>
																<%= GetShippingTypeText %>
															</strong>
														</TD>
													</TR>
													<TR>
														<TD class="txtnormal" noWrap align="right">Order Date:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= MIMS_WRS.Business.Common.FormatDate(PageBO.OrderDate) %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" align="right">Order By:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong><%= GetContactName %></strong></TD>
													</TR>
													<TR>
														<TD class="txtnormal" vAlign="top" align="right">General Shipping Instructions:</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2"><strong>
																<%= PageBo.ShippingInstructions %>
															</strong>
														</TD>
													</TR>
													<TR>
														<TD class="txtnormal" vAlign="top" align="right">&nbsp;</TD>
														<TD class="txtnormal" align="center">&nbsp;</TD>
														<TD class="txtcolor2">&nbsp;</TD>
													</TR>
												</TABLE>
												<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td class="bgmenu" height="25">
															<table cellSpacing="0" cellPadding="0" width="100%" border="0">
																<tr>
																	<td height="30"><strong>&nbsp;</strong><span class="txtcolor1"><strong>Product(s) Line:</strong></span></td>
																	<td align="right">&nbsp;
																	</td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td><asp:datagrid id="dgItems" runat="server" BorderWidth="0px" BorderColor="#BFD6FB" AutoGenerateColumns="False"
																GridLines="None" BorderStyle="None" cellpadding="2" cellspacing="1" Width="100%" CssClass="border">
																<ItemStyle CssClass="bggrey"></ItemStyle>
																<HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="txtheader" VerticalAlign="Middle"></HeaderStyle>
																<Columns>
																	<asp:BoundColumn DataField="ProductCode" HeaderText="Product Code">
																		<HeaderStyle Width="11%"></HeaderStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="ProductDescription" HeaderText="Description">
																		<HeaderStyle Width="28%"></HeaderStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="Color" HeaderText="Color">
																		<HeaderStyle Width="7%"></HeaderStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="Packing" HeaderText="Pack">
																		<HeaderStyle Width="8%"></HeaderStyle>
																		<ItemStyle HorizontalAlign="Right"></ItemStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="Quantity" HeaderText="Quantity Ordered">
																		<HeaderStyle Width="9%"></HeaderStyle>
																		<ItemStyle HorizontalAlign="Right"></ItemStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="SpecialInstructions" HeaderText="Special Instructions">
																		<HeaderStyle Width="10%"></HeaderStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="AdjustedQuantity" HeaderText="Adjusted Quantity">
																		<HeaderStyle Width="9%"></HeaderStyle>
																		<ItemStyle HorizontalAlign="Right"></ItemStyle>
																	</asp:BoundColumn>
																	<asp:BoundColumn DataField="UseFromBoNumber2" HeaderText="From BO#">
																		<HeaderStyle Width="8%"></HeaderStyle>
																	</asp:BoundColumn>
																</Columns>
															</asp:datagrid></td>
													</tr>
												</table>
												<TABLE cellSpacing="0" cellPadding="3" width="100%" border="0">
													<TR class="txtnormal">
														<TD class="txtsmall" align="center" height="40">
															<asp:button id="btnSubmit" runat="server" CssClass="button" Text="Confirm"></asp:button>
															<input name="Submit2232" type="button" class="button" value="Cancel" onClick="javascript:window.location='../Internal/OrderInput.aspx?back=true';">
														</TD>
													</TR>
												</TABLE>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="10"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
							</tr>
							<tr>
								<td align="right">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr> <!-- ViewForm: end --><uc1:footer id="Footer1" runat="server"></uc1:footer></table>
		</form>
	</body>
</HTML>
